const option = {
  loop: {
    series: [
      {
        type: "pie",
        radius: ["60%", "75%"],
        silent: true,
        label: {
          show: true,
          fontSize: "30",
          position: "center",
          formatter: "完成率\n{c}%"
        },
        data: [
          // { value: 20, itemStyle: { color: "#000" } },
          // { value: 80, label: { show: false }, itemStyle: { color: "#EBE9F4" } }
        ]
      }
    ]
  },
  circle: {
    tooltip: {
      trigger: "item",
      formatter: "{b} : {c} ({d}%)"
    },
    legend: {
      orient: "vertical",
      bottom: 10,
      right: 0,
      top: "20%",
      itemWidth: 10,
      itemHeight: 10
    },
    series: [
      {
        type: "pie",
        radius: "65%",
        center: ["50%", "50%"],
        avoidLabelOverlap: true,
        label: {
          show: true,
          formatter: "{b}: {d}%\n{c}"
        },
        data: [],
        emphasis: {
          itemStyle: {
            shadowBlur: 10,
            shadowOffsetX: 0,
            shadowColor: "rgba(0, 0, 0, 0.5)"
          }
        }
      }
    ]
  }
};

export default option;
